package org.kongqian.basic.service;

import org.kongqian.basic.query.BaseQuery;
import org.kongqian.basic.utils.PageList;

import java.io.Serializable;
import java.util.List;

public interface IBaseService <T>{
    void insert(T t);

    void deleteById(Serializable id);

    void updateById(T t);

    List<T> selectAll();

    T selectById(Serializable id);

    PageList<T> listPage(BaseQuery query);
}
